package StudyCode.summary.myfile;

import java.nio.file.FileSystems;
import java.nio.file.Path;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class ListingFileSystemRootDirectories {
	public static void main(String[] args) {

		Iterable<Path> dirs = FileSystems.getDefault().getRootDirectories();
		for (Path name : dirs) {
			System.out.println(name);
		}

	}
}
